ComboBox|TreeMenu: Clarify :row|column-span-column
authorDaniel Boles <dboles@src.gnome.org>
Wed, 4 Oct 2017 09:14:42 +0000 (10:14 +0100)
committerDaniel Boles <dboles@src.gnome.org>
Wed, 4 Oct 2017 09:22:20 +0000 (10:22 +0100)
commit5849b985689613967e55415c60f91c3e9015e95e
tree4762acc37b113b98601edae729187ea07ac62571
parent5a32b78ba16685d978cc94bd6b892ba8181e7b1c
ComboBox|TreeMenu: Clarify :row|column-span-column

ComboBox and TreeMenu warned in the doc for :row-span-column that the
value must not exceed :wrap-width, but :wrap-width does not interact
with the number of rows; it’s the :column-span-column that’s relevant.

Also: Warn that spans must be > 0 for rows too, and that column spans <=
:wrap-width are also not useful for items at menu column positions > 0.

Finally, refer to items having spans, not values, as we were already
talking about values in the model (and rows in the menu).
gtk/gtkcombobox.c
gtk/gtktreemenu.c